<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <h1>{{message.split(" ").reverse().join(" ")}}</h1>
    <h1>{{lastName + '' + firstName}}</h1>
    <h1>{{score >= 60 ? '及格' : '不及格'}}</h1>
</div>
<script src="../../JavaScript/vue.js"></script>
<script>
    const app = Vue.createApp({
        data() {
            return {
                message: "hello Vue",
                firstName: "陶",
                lastName: "品奇",
                score: 60,
            }
        },
    })
    app.mount("#app")
</script>
</body>
</html>